﻿using Managistics.Warehouse.Configuration;
using Managistics.Warehouse.Controllers.Interfaces;
using Managistics.Warehouse.Views.Interfaces;
using Managistics.Warehouse.Factories;
using Managistics.Core.Services;

namespace Managistics.Warehouse.Controllers
{
    public class InventoryAdjustController : IInventoryAdjustController
    {
        readonly IAdjustParityRetailCodeView fromAdjustView;

        public InventoryAdjustController(IAdjustParityRetailCodeView fromAdjustView)
        {
            this.fromAdjustView = fromAdjustView;
        }

        public void Run()
        {
            //fromPurchaseView.Open(this.mainView);
            fromAdjustView.Open();
        }

        public void Stop(string key) { }
    }
}